package Day4231;

/**
 * @author: Li fei
 * @date: 2018-04-23
 * @time: 22:39
 */
public class Test {
    public static void main(String[] args){
        SavingAccount sa = new SavingAccount("003", 20000);
        double a = sa.getInterest();
        System.out.println(a);
        CheckingAccount ca = new CheckingAccount("002", 40000);
        double b= ca.getInterest();
        System.out.println(b);

    }
}
